﻿<!--{inc(header.view.html)}-->

<div class="header">    
  
                       <div class="nav">
	                                 <ul id="nav_list">
                                                 <li><a href="#" class="nav_icon"  target="mainframe">滚动图片列表</a></li>
                                                 <li><a  href="index.php?app=rollpic&act=add"   target="mainframe">增加滚动图片</a></li>

	                                 </ul>
                       </div>
                
</div>



<div id="content">
                   <h1>新增导航栏</h1>

                  <div>
                                    <div class="tips_show"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b>
                                                                  <span ></span>
                                    </div>



                                     <table align="center" width="100%" cellpadding="4" cellspacing="0" border="0" class="table_style">
                                     <tr>
	                                       <td width="40px" align="center" class="bold">排序</td>
	                                       <td class="bold">缩略图</td>
	                                       <td width="35%" class="bold">名称</td>
	                                       <td class="bold">发布时间</td>
	                                       <td class="bold" width="40px">状态</td>
	                                       <td class="bold">操作</td>
                                     </tr>
                                     
                                     <?php foreach((array)$picdata as $_key => $_value ) { ?>
                                     
                                     <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	                                       <td>
	                                           <input type="text" name="sort" value="{$_value.sort}" style="width:20px; text-align:center" maxlength="2" onchange="ato_url('index.php?app=rollpic&act=psort&id={$_value.id}',this);"/>

                                          </td>
	                                       <td><img src="{$_value.images_url|picdir}"  height="100" width="200"/></td>
	                                       <td>{$_value.name}</td>
	                                       <td>{$_value.add_time|dateymdgis}</td>
	                                       <td><?php if ($_value.status) { ?> {$lang.show}<?php } else { ?> {$lang.hidden}<?php } ?></td>
	                                       <td>  
        <a href="#" id="op_{$_key}" onMouseOver="show_menu('op_{$_key}','opdiv_{$_key}','show','left')" onMouseOut="show_menu('op_{$_key}','opdiv_{$_key}','hide','left')"><img src="{$web_view_dir}style/images/menu_edit.gif" align="absmiddle" border="0" /></a>
	                                           <div id="opdiv_{$_key}" class="operate operate_common">
	                                            <a href="?app=rollpic&act=edit&id={$_value.id}" target="mainframe">修改</a>
	                                            <a href="?app=rollpic&act=del&id={$_value.id}" onClick="return confirm('确认删除此图片？此操作无法恢复！');">删除</a>
	                                           </div>
                                               
	                                      </td>
                                    </tr>
                                   <?php } ?>                  
                  
                                    
                                    <tr>
	                                       <td align="center" colspan="5"><input type="button" class="buton" value="新增滚动图片" onClick="to_url('index.php?app=rollpic&act=add');" /> <input type="button" class="buton" value=" 更新滚动图片缓存 "  onClick="to_url('index.php?app=rollpic&act=cache');" /></td>

                                   </tr>
                                   </table>
                             
                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 

                 </div>

</div>



<!--{inc(footer.view.html)}-->